package com.smart4soft.stock.action;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;

import com.opensymphony.xwork2.ActionContext;
import com.smart4soft.stock.dao.UserinfoDAO;

@Controller
public class UserInfoAction {	
	@Resource UserinfoDAO userinfoDAO;	
	public String execute(){
		ActionContext.getContext().put("userinfos", userinfoDAO.findAll());	
		return "list";
	}
}
